﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserEditAll.aspx.cs" Inherits="Admin_UserEditAll"
    EnableEventValidation="false" %>
<%@ Register assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI" tagprefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server" displaymode="List">
    <title>UPEX&nbsp;-&nbsp;网上制单</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../css/main-admin.css" rel="stylesheet" type="text/css" />

    <script src="../Jscript/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="../Jscript/page.js" type="text/javascript"></script>

    <style type="text/css">
        .bordercss
        {
            border: 1px solid #CCC;
        }
        .gjlist
        {
            border: 1px solid #CCC;
            margin-left: 20px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="mg" runat="server">
    </asp:ScriptManager>
    <div class="title">
        用户资料管理 &nbsp;<asp:Label ID="anolb" runat="server"></asp:Label>&nbsp;<asp:Label ID="namelb"
            runat="server"></asp:Label>&nbsp;
    </div>
    <div style="color: #606; font-weight: bold; float: left; width: 966px;">
        <a href='UserEditAll.aspx?id=<%=Request.QueryString["id"].ToString()%>&ano=<%=Request.QueryString["ano"].ToString()%>&name=<%=Request.QueryString["name"].ToString()%>'"'
            class="user-detail-menu-active">基本资料</a> <a href='UserBillManage.aspx?id=<%=Request.QueryString["id"].ToString()%>&ano=<%=Request.QueryString["ano"].ToString()%>&name=<%=Request.QueryString["name"].ToString()%>'
                class="user-detail-menu">历史运单</a> <a href='UserPayHist.aspx?id=<%=Request.QueryString["id"].ToString()%>&ano=<%=Request.QueryString["ano"].ToString()%>&name=<%=Request.QueryString["name"].ToString()%>'"'
                    class="user-detail-menu">付款历史</a> <a href='UserStateMent.aspx?id=<%=Request.QueryString["id"].ToString()%>&ano=<%=Request.QueryString["ano"].ToString()%>&name=<%=Request.QueryString["name"].ToString()%>'"'
                        class="user-detail-menu">月结报表</a> <a href='UserCalulate.aspx?id=<%=Request.QueryString["id"].ToString()%>&ano=<%=Request.QueryString["ano"].ToString()%>&name=<%=Request.QueryString["name"].ToString()%>'"'
                            class="user-detail-menu">运费结算</a>       <a href='personpaylist.asp?id=<%=Request.QueryString["id"].ToString()%>&amp;ano=<%=Request.QueryString["ano"].ToString()%>&amp;name=<%=Request.QueryString["name"].ToString()%>'"'
                        class="user-detail-menu">帐户资料</a>
    </div>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 30px;
        border-bottom: 1px solid #999; margin-bottom: 10px; padding-bottom: 5px">
        账户资料</div>
    <div style="color: #636; margin-bottom: 15px;">
        账户：
        <asp:Label ID="AccountNotxt" runat="server"></asp:Label>
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        用户名：
        <asp:Label ID="lnametxt" runat="server"></asp:Label>
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        姓名：
        <input type="text" name="textfield" id="realname" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        密码：
        <input type="text" name="textfield" id="passtxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 30px;">
        销售归属：</div>
    <div style="width: 966px; border-bottom: 1px solid #999; float: left; height: 10px;">
    </div>
    <div style="float: left; width: 966px; margin-top: 10px;">
        销售人员归属：
        <asp:DropDownList ID="payselect" runat="server">
        </asp:DropDownList>
    </div>
    <div style="float: left; width: 966px; margin-top: 10px;">
        提成比例：
        <input type="text" name="textfield" id="SalesRatetxt" runat="server" style="width: 50px;
            border: 1px solid #CCC; height: 15px;" />
        %
    </div>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 30px;">
        收费费率：</div>
    <div style="width: 966px; border-bottom: 1px solid #999; float: left; height: 10px;">
    </div>
        <asp:Repeater ID="RatesList" runat="server">
        <ItemTemplate>
            <div style="float: left; width: 966px; margin-top: 10px;">
                     <asp:Label ID="namelb" runat="server"  Text='<%#Eval("Name")%>' ToolTip='<%#Eval("cid")%>'></asp:Label>  ：首磅 $
                <input type="text" name="textfield" id="GeneralRatesFirsttxt" runat="server" value='<%#Eval("SB")%>'
                    style="width: 50px; border: 1px solid #CCC; height: 15px;" />
                &nbsp; &nbsp; &nbsp; 续磅 $
                <input type="text" name="textfield" id="GeneralRatesLasttxt" runat="server" value='<%#Eval("CB")%>'
                    style="width: 50px; border: 1px solid #CCC; height: 15px;" /> <asp:Label ID="statelb" runat="server"  Text="" ToolTip='<%#Eval("id")%>'></asp:Label>
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <div style="float: left; width: 966px; margin-top: 10px;">
        代购货物费率：
        <input type="text" name="textfield" id="ShoppingServiceRatetxt" runat="server" style="width: 50px;
            border: 1px solid #CCC; height: 15px;" />
        %
    </div>
    <div style="float: left; width: 966px; margin-top: 10px;">
        人工包装费率：每磅 $
        <input type="text" name="textfield" id="PackagingRatetxt" runat="server" style="width: 50px;
            border: 1px solid #CCC; height: 15px;" />
    </div>
    <div style="float: left; width: 966px; margin-top: 10px;">
        最高欠款上限：$
        <input type="text" name="textfield" id="ArrearsLimittxt" runat="server" style="width: 50px;
            border: 1px solid #CCC; height: 15px;" />
    </div>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 30px;
        margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid #999;">
        用户个人信息</div>
    <div style="color: #636; margin-bottom: 15px;">
        电邮：
        <input type="text" name="textfield" id="emailtxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        地址：
        <input type="text" name="textfield" id="addressxtxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        国家：
        <asp:DropDownList ID="gsdlist" runat="server" AutoPostBack="True" OnSelectedIndexChanged="gjlist_SelectedIndexChanged"
            Width="135px" CssClass="gjlist">
        </asp:DropDownList>
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        城市：
        <input type="text" name="textfield" id="city_txt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        州省：
        <asp:DropDownList ID="slist" CssClass="gjlist" runat="server" Width="135px">
        </asp:DropDownList>
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        邮编：
        <input type="text" name="textfield" id="ybtxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        电话：
        <input type="text" name="textfield" id="teltxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        手机：
        <input type="text" name="textfield" id="phonetxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        传真：
        <input type="text" name="textfield" id="chuanzhentxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        公司：
        <input type="text" name="textfield" id="comptxt" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
        性别：
        <asp:RadioButton ID="man" runat="server" Checked="True" GroupName="sba" />男
        <asp:RadioButton ID="woman" runat="server" GroupName="sba" />女
    </div>
    <div style="color: #636; margin-bottom: 15px;">
    身份证：   
        <input type="text" name="textfield" id="idcard" runat="server" style="width: 200px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
    </div>
    <div style="color: #636; margin-bottom: 15px;">
      备注：   
        <input type="hidden" name="textfield" id="qqtxt" runat="server" style="width: 600px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" />
        <textarea name="textfield" rows="4" id="memotxt" style="width: 800px;
            border: 1px solid #CCC; height: 15px; margin-left: 20px;" runat="server"></textarea>
    </div>
    <div style="color: #606; font-weight: bold; float: left; width: 966px; margin-top: 20px;
        text-align: center;">
        <asp:ImageButton ImageAlign="AbsMiddle" ID="okbtn" runat="server" Text="确定" OnClick="okbtn_Click"
            ImageUrl="~/Images/2.0/addnewuer.jpg" />
    </div>
    </form>
</body>
</html>
